#include<stdio.h>
#include<time.h>
#include<stdlib.h>

#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define EASY 12

void InitBoard(char Board[ROWS][COLS], int rows, int cols,char set);
void DisplayBoard(char Board[ROWS][COLS], int row, int col);
void Setmine(char Board[ROWS][COLS], int row, int col);
void Findmine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);
char Getnumber(char mine[ROWS][COLS], char show[ROWS][COLS], int x, int y);
void Auto_show(char mine[ROWS][COLS], char show[ROWS][COLS], int x, int y);